import request from '@/utils/request'
// 获取用户列表
export function getUserListApi(query, body) {
  return request({
    url: '/system/apiUser/getUserList',
    method: 'post',
    params: query,
    data: body
  });
}

// 获取用户详情
export function getUserInfoApi(id) {
  return request({
    url: `/system/apiUser/${id}`,
    method: 'get',
  });
}